3.2536 \(\int (5-x) (3+2 x)^{3/2} (2+5 x+3 x^2)^2 \, dx\)

Optimal. Leaf size=79 \[ -\frac {3}{160} (2 x+3)^{15/2}+\frac {165}{416} (2 x+3)^{13/2}-\frac {359}{176} (2 x+3)^{11/2}+\frac {217}{48} (2 x+3)^{9/2}-\frac {1065}{224} (2 x+3)^{7/2}+\frac {65}{32} (2 x+3)^{5/2} \]

[Out]

65/32*(3+2*x)^(5/2)-1065/224*(3+2*x)^(7/2)+217/48*(3+2*x)^(9/2)-359/176*(3+2*x)^(11/2)+165/416*(3+2*x)^(13/2)-
3/160*(3+2*x)^(15/2)

________________________________________________________________________________________

Rubi [A]  time = 0.02, antiderivative size = 79, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 1, integrand size = 27, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.037, Rules used = {771} \[ -\frac {3}{160} (2 x+3)^{15/2}+\frac {165}{416} (2 x+3)^{13/2}-\frac {359}{176} (2 x+3)^{11/2}+\frac {217}{48} (2 x+3)^{9/2}-\frac {1065}{224} (2 x+3)^{7/2}+\frac {65}{32} (2 x+3)^{5/2} \]

Antiderivative was successfully verified.

[In]

Int[(5 - x)*(3 + 2*x)^(3/2)*(2 + 5*x + 3*x^2)^2,x]

[Out]

(65*(3 + 2*x)^(5/2))/32 - (1065*(3 + 2*x)^(7/2))/224 + (217*(3 + 2*x)^(9/2))/48 - (359*(3 + 2*x)^(11/2))/176 +
 (165*(3 + 2*x)^(13/2))/416 - (3*(3 + 2*x)^(15/2))/160

Rule 771

Int[((d_.) + (e_.)*(x_))^(m_.)*((f_.) + (g_.)*(x_))*((a_.) + (b_.)*(x_) + (c_.)*(x_)^2)^(p_.), x_Symbol] :> In
t[ExpandIntegrand[(d + e*x)^m*(f + g*x)*(a + b*x + c*x^2)^p, x], x] /; FreeQ[{a, b, c, d, e, f, g, m}, x] && N
eQ[b^2 - 4*a*c, 0] && IntegerQ[p] && (GtQ[p, 0] || (EqQ[a, 0] && IntegerQ[m]))

Rubi steps

\begin {align*} \int (5-x) (3+2 x)^{3/2} \left (2+5 x+3 x^2\right )^2 \, dx &=\int \left (\frac {325}{32} (3+2 x)^{3/2}-\frac {1065}{32} (3+2 x)^{5/2}+\frac {651}{16} (3+2 x)^{7/2}-\frac {359}{16} (3+2 x)^{9/2}+\frac {165}{32} (3+2 x)^{11/2}-\frac {9}{32} (3+2 x)^{13/2}\right ) \, dx\\ &=\frac {65}{32} (3+2 x)^{5/2}-\frac {1065}{224} (3+2 x)^{7/2}+\frac {217}{48} (3+2 x)^{9/2}-\frac {359}{176} (3+2 x)^{11/2}+\frac {165}{416} (3+2 x)^{13/2}-\frac {3}{160} (3+2 x)^{15/2}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.02, size = 38, normalized size = 0.48 \[ -\frac {(2 x+3)^{5/2} \left (9009 x^5-27720 x^4-124005 x^3-151270 x^2-76260 x-14304\right )}{15015} \]

Antiderivative was successfully verified.

[In]

Integrate[(5 - x)*(3 + 2*x)^(3/2)*(2 + 5*x + 3*x^2)^2,x]

[Out]

-1/15015*((3 + 2*x)^(5/2)*(-14304 - 76260*x - 151270*x^2 - 124005*x^3 - 27720*x^4 + 9009*x^5))

________________________________________________________________________________________

fricas [A]  time = 0.85, size = 44, normalized size = 0.56 \[ -\frac {1}{15015} \, {\left (36036 \, x^{7} - 2772 \, x^{6} - 747579 \, x^{5} - 2342620 \, x^{4} - 3236325 \, x^{3} - 2333766 \, x^{2} - 857988 \, x - 128736\right )} \sqrt {2 \, x + 3} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((5-x)*(3+2*x)^(3/2)*(3*x^2+5*x+2)^2,x, algorithm="fricas")

[Out]

-1/15015*(36036*x^7 - 2772*x^6 - 747579*x^5 - 2342620*x^4 - 3236325*x^3 - 2333766*x^2 - 857988*x - 128736)*sqr
t(2*x + 3)

________________________________________________________________________________________

giac [A]  time = 0.18, size = 55, normalized size = 0.70 \[ -\frac {3}{160} \, {\left (2 \, x + 3\right )}^{\frac {15}{2}} + \frac {165}{416} \, {\left (2 \, x + 3\right )}^{\frac {13}{2}} - \frac {359}{176} \, {\left (2 \, x + 3\right )}^{\frac {11}{2}} + \frac {217}{48} \, {\left (2 \, x + 3\right )}^{\frac {9}{2}} - \frac {1065}{224} \, {\left (2 \, x + 3\right )}^{\frac {7}{2}} + \frac {65}{32} \, {\left (2 \, x + 3\right )}^{\frac {5}{2}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((5-x)*(3+2*x)^(3/2)*(3*x^2+5*x+2)^2,x, algorithm="giac")

[Out]

-3/160*(2*x + 3)^(15/2) + 165/416*(2*x + 3)^(13/2) - 359/176*(2*x + 3)^(11/2) + 217/48*(2*x + 3)^(9/2) - 1065/
224*(2*x + 3)^(7/2) + 65/32*(2*x + 3)^(5/2)

________________________________________________________________________________________

maple [A]  time = 0.01, size = 35, normalized size = 0.44 \[ -\frac {\left (9009 x^{5}-27720 x^{4}-124005 x^{3}-151270 x^{2}-76260 x -14304\right ) \left (2 x +3\right )^{\frac {5}{2}}}{15015} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((5-x)*(2*x+3)^(3/2)*(3*x^2+5*x+2)^2,x)

[Out]

-1/15015*(9009*x^5-27720*x^4-124005*x^3-151270*x^2-76260*x-14304)*(2*x+3)^(5/2)

________________________________________________________________________________________

maxima [A]  time = 0.47, size = 55, normalized size = 0.70 \[ -\frac {3}{160} \, {\left (2 \, x + 3\right )}^{\frac {15}{2}} + \frac {165}{416} \, {\left (2 \, x + 3\right )}^{\frac {13}{2}} - \frac {359}{176} \, {\left (2 \, x + 3\right )}^{\frac {11}{2}} + \frac {217}{48} \, {\left (2 \, x + 3\right )}^{\frac {9}{2}} - \frac {1065}{224} \, {\left (2 \, x + 3\right )}^{\frac {7}{2}} + \frac {65}{32} \, {\left (2 \, x + 3\right )}^{\frac {5}{2}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((5-x)*(3+2*x)^(3/2)*(3*x^2+5*x+2)^2,x, algorithm="maxima")

[Out]

-3/160*(2*x + 3)^(15/2) + 165/416*(2*x + 3)^(13/2) - 359/176*(2*x + 3)^(11/2) + 217/48*(2*x + 3)^(9/2) - 1065/
224*(2*x + 3)^(7/2) + 65/32*(2*x + 3)^(5/2)

________________________________________________________________________________________

mupad [B]  time = 0.03, size = 55, normalized size = 0.70 \[ \frac {65\,{\left (2\,x+3\right )}^{5/2}}{32}-\frac {1065\,{\left (2\,x+3\right )}^{7/2}}{224}+\frac {217\,{\left (2\,x+3\right )}^{9/2}}{48}-\frac {359\,{\left (2\,x+3\right )}^{11/2}}{176}+\frac {165\,{\left (2\,x+3\right )}^{13/2}}{416}-\frac {3\,{\left (2\,x+3\right )}^{15/2}}{160} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(-(2*x + 3)^(3/2)*(x - 5)*(5*x + 3*x^2 + 2)^2,x)

[Out]

(65*(2*x + 3)^(5/2))/32 - (1065*(2*x + 3)^(7/2))/224 + (217*(2*x + 3)^(9/2))/48 - (359*(2*x + 3)^(11/2))/176 +
 (165*(2*x + 3)^(13/2))/416 - (3*(2*x + 3)^(15/2))/160

________________________________________________________________________________________

sympy [A]  time = 23.80, size = 70, normalized size = 0.89 \[ - \frac {3 \left (2 x + 3\right )^{\frac {15}{2}}}{160} + \frac {165 \left (2 x + 3\right )^{\frac {13}{2}}}{416} - \frac {359 \left (2 x + 3\right )^{\frac {11}{2}}}{176} + \frac {217 \left (2 x + 3\right )^{\frac {9}{2}}}{48} - \frac {1065 \left (2 x + 3\right )^{\frac {7}{2}}}{224} + \frac {65 \left (2 x + 3\right )^{\frac {5}{2}}}{32} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((5-x)*(3+2*x)**(3/2)*(3*x**2+5*x+2)**2,x)

[Out]

-3*(2*x + 3)**(15/2)/160 + 165*(2*x + 3)**(13/2)/416 - 359*(2*x + 3)**(11/2)/176 + 217*(2*x + 3)**(9/2)/48 - 1
065*(2*x + 3)**(7/2)/224 + 65*(2*x + 3)**(5/2)/32

________________________________________________________________________________________